package example;

import org.testng.annotations.Test;

public class TestCal {
    @Test
    public void TestCal(){
        ProxyFactory proxyFactory = new ProxyFactory(new CalculatorImpl());
        Calculator proxy = (Calculator) proxyFactory.getProxy();
        proxy.add(1,2);

    }
}
